package cate.common.table.item.rune.row;

import cate.common.table.ERow;
import cate.common.table.XSSFRowWrap;
import easy.java.dev.note.NoteClass;
import easy.java.dev.note.NoteField;

@NoteClass(value = "徽章技能评分")
public class RuneSkillScoreRow extends ERow {
    @NoteField(value = "等级")
    public int level;

    @NoteField(value = "原型ID")
    public int protoId;

    @Override
    public void parse(XSSFRowWrap xr) {
        this.id = xr.getInteger("技能ID", -1);
        this.level = xr.getInteger("等级", 0);
        this.protoId = xr.getInteger("原型ID", 0);
    }

    @Override
    public void decode() {}
}
